package com.woniu.cms.goods.core.service;

import com.woniu.cms.goods.core.entity.GoodsOutbill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.goods.core.entity.GoodsOutbillMaterial;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 * 领料单表 服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-18
 */
public interface IGoodsOutbillService extends IService<GoodsOutbill> {

    Result addOutbill(GoodsOutbill outbill, List<GoodsOutbillMaterial> list);

    Result deleteOutbill(Integer id, Integer status);

    Result updateOutbill(GoodsOutbill outbill, List<GoodsOutbillMaterial> list);

    Result commitOutbill(GoodsOutbill outbill, List<GoodsOutbillMaterial> list);
}
